﻿using System.Web.Mvc;

namespace Krupa.Pro.Web.Utility.Caching
{
    public class OmitVaryStarAttribute : ActionFilterAttribute
    {


        public override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            base.OnActionExecuted(filterContext);
            filterContext.HttpContext.Response.Cache.SetOmitVaryStar(true);
        }

    }
}